//
// Created by eliotxu on 2022/01/19.
//

#include <iostream>

double convert(double light);

using namespace std;
int main() {
    double light_years, astro_years;

    std::cout << "Enter the number of light years:" << std::endl;
    cin >> light_years;

    astro_years = convert(light_years);

    std::cout << light_years << " light years = " << astro_years
              << " astronomical units." << std::endl;

    return 0;
}

double convert(double light) { return 63240 * light; }